@isTest
private class TestAllMessagesController {

    static testMethod void myUnitTest() {
        // TO DO: implement unit test
        AllMessagesController obj = new AllMessagesController();
        AllMessagesController objWithConsoleHomeController = new AllMessagesController(new ConsoleHomeController_AC());
        
        obj.getMessage();
        
        obj.errMessage('This is a test Message');
        
    }
}